<?php Load::View('share/header')?>
	
<?php Load::View('share/left')?>

			<div class="main-bc-right">
				<div class="main-bc-right-leftcol">
				
					<?php if(!empty($this->bloglist) && count($this->bloglist) > 0):?>
					<?php foreach($this->bloglist as $list):?>
					<div class="posts">
						<dl>
							<dt>
								<p><span><?php echo date('Y',$list['date'])?></span></p>
								<p style="border-top:1px solid #E7E7E7"><span><?php echo date('m',$list['date'])?>月<?php echo date('d',$list['date'])?></span></p>
							</dt>
							<dd class="posts-title"><a href="<?php echo $this->url(array('c'=>'detail','id'=>$list['id']))?>" ><?php echo $list['title']?></a></dd>
							<dd><span class="category"><a href="<?php echo $this->url(array('c'=>'list','id'=>$list['cid']))?>"><?php echo $list['category']?></a></span></dd>
						</dl>
						<div class="posts-content">
							<?php //echo strip_tags(mb_substr($list['content'],0,800,'utf-8'),'<a><img>')?>
							<?php echo stripslashes($list['content'])?>
							
						</div>
						<div class="posts-foot">
							<span class="tags">标签 | 
							<?php if(!empty($list['tags']) && count($list['tags']) > 0):?>
							<?php foreach($list['tags'] as $k => $tlist):?>
							<a href="/?c=list&tags=<?php echo $tlist?>"><?php echo $tlist?></a>
							<?php if($k < count($list['tags']) - 1 ):?>,<?php endif;?>
							<?php endforeach;?>
							<?php endif;?></span>
							<span class="comments">评论 (<a href="">33</a>)</span>
						</div>
					</div>
					<?php endforeach;?>
					<?php endif;?>
					
					<div class="page">
						<ul>
							<?php echo $this->pagebar?>
						</ul>
					</div>
					
				</div>
				
<?php Load::View('share/right')?>
				
			</div>
			
<?php Load::View('share/footer')?>